import request from "@/utils/request";
export function insertRecharge(data) {
  return request({
    url: "/recharge/insert",
    method: "post",
    data: data
  });
}
export function updateRecharge(data) {
  return request({
    url: "/recharge/update",
    method: "post",
    data: data
  });
}
export function deleteRecharge(data) {
  return request({
    url: "/recharge/delete",
    method: "post",
    data: data
  });
}
export function deletesRecharge(data) {
  return request({
    url: "/recharge/deletes",
    method: "post",
    data: data
  });
}
export function enableRecharge(data) {
  return request({
    url: "/recharge/enable",
    method: "post",
    data: data
  });
}
export function enablesRecharge(data) {
  return request({
    url: "/recharge/enables",
    method: "post",
    data: data
  });
}
export function disableRecharge(data) {
  return request({
    url: "/recharge/disable",
    method: "post",
    data: data
  });
}
export function disablesRecharge(data) {
  return request({
    url: "/recharge/disables",
    method: "post",
    data: data
  });
}
export function viewRecharge(params) {
  return request({
    url: "/recharge/view",
    method: "get",
    params: params
  });
}
export function pageRecharge(params) {
  return request({
    url: "/recharge/page",
    method: "get",
    params: params
  });
}
export function searchRecharge(params) {
  return request({
    url: "/recharge/search",
    method: "get",
    params: params
  });
}
